
<h1><?php echo $this->vars->headline; ?> (<?php echo $this->vars->result->total_cost; ?>&euro;)</h1>
<span class="toggle" for="<?php echo $this->vars->id; ?>">Details</span>
<table class="details" id="<?php echo $this->vars->id; ?>">
	<?php
	foreach ( $this->vars->result->sellers as $seller ) {
		?>
		<tr>
			<th colspan="2"><?php echo $seller->name; ?> <span class="flag flag-<?php echo $seller->country; ?>" title="<?php echo $seller->country; ?>"></span></th>
		</tr>
		<?php
		foreach ( $seller->cards as $card ) {
			?>
			<tr>
				<td><?php echo $card->productName; ?></td>
				<td><?php echo $card->sellers[$card->chosen_seller]->cost; ?></td>
			</tr>
			<?php
		}
		?>
		<tr>
			<td><strong>Versand (ca.)</strong></td>
			<td><?php echo $seller->shipping_cost; ?></td>
		</tr>
		<?php
	}
	?>

	<tr>
		<td>Preis komplett</td>
		<td><?php echo $this->vars->result->total_cost; ?></td>
	</tr>
</table>